<!doctype html>
<html>
     <head>
          <link href="{{ STATIC_URL }}img/favicon.png" rel="icon" type="image/x-icon" />
          <link href="{{ STATIC_URL }}css/jquery-ui/jquery-ui.min.css" rel="stylesheet" type="text/css" media="screen"/>
          <link href="{{ STATIC_URL }}css/mdm.css" rel="stylesheet" type="text/css" media="screen"/>
          <link href="{{ STATIC_URL }}css/jquery.fileupload.css" rel="stylesheet" />
          <link href="{{ STATIC_URL }}css/jquery.fileupload-ui.css" rel="stylesheet" />
          {% block headcss %}
          {% endblock %}
          <script type="text/javascript" src="{{ STATIC_URL }}js/jquery/jquery-1.11.1.min.js"></script>
          <script type="text/javascript" src="{{ STATIC_URL }}js/jquery/jquery-ui.min.js"></script>
          <script type="text/javascript" src="{{ STATIC_URL }}js/moment-with-locales.min.js"></script>
          <script type="text/javascript" src="{{ STATIC_URL }}js/mdm.js"></script>
          <script type="text/javascript" src="{{ STATIC_URL }}js/tiny_mce/tiny_mce.js"></script>
          <script type="text/javascript" src="{{ STATIC_URL }}js/calendario.js"></script>
          <script type="text/javascript" src="{{ STATIC_URL }}js/jquery/jquery.fileupload.js"></script>
          <script type="text/javascript" src="{{ STATIC_URL }}js/jquery.blockUI.js"></script>

          {% block headscr %}
          {% endblock %}
          <title>{% block title %}Bravo administración de la aplicación{% endblock %}</title>
     </head>

     <body>

          {% block menu %}
          <div id="cabecera"><a href="{% url "index" %}"><img src="{{ STATIC_URL }}img/bravop.png" height="27"/></a>
               <h3><a href="{% url "iniciomdm" %}">Gestión de promociones</a></h3>
               <h3><a href="{% url "fondos" %}">Gestión de imágenes de presentación</a></h3>
               <h3><a href="{% url "contenidos" %}">Gestión de contenidos</a></h3>
               <!--h3><a href="{% url "encuestas" %}">Encuestas</a></h3-->
               <h3><a href="{% url "logout" %}">Salir</a></h3>
          </div>
          {% endblock %}

          {% block contenido %}
          {% endblock  %}

          {% block script %}
          {% endblock  %}
          <script>
               var esto='{{ request.path }}'
               $('a[href="' + esto + '"]').addClass('activa')
          </script>
     </body> 
</html>
